4. Methods and Callbacks

4.06 On ShapeChange

Syntax:
On ShapeChange shapeID, linkstr
End

Purpose:
This callback is provided when the contents below the mouse cursor changes its kind.

When the user moves the mouse this movement is tracked. As soon as the content type below the mouse cursor changes, this event is sent. Usually You will use the callback to chage the mouse cursor depending on the context below, for example switch to a pointing hand, while the mouse is over a link.

shapeID is an integer value indicating the context type below the cursor

shapeID has one of the following values:

linkstr is a string with the contents of the HREF attribute, while the mouse is over a link. If the mouse is not over a link (shapeID<>2) linkstr is an empty string

Note: